﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyVoteMVC.BackstageManagement.Views;
using MyVoteMVC.Data.Repositories;

namespace MyVoteMVC.BackstageManagement.Controllers
{
    /// <summary>
    /// 可以根据实际情况创建不同的controller接口并实现
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IController<T>
    {
        //IRepository<T> repository { get; set; }//再具体类中再确定用哪个
        IView<T> Form { get; }
        void Load();
    }
}
